package com.chen10.cattle.model.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName cattle
 */
@Data
public class Cattle implements Serializable {
    /**
     * 
     */
    private Integer id;

    /**
     * 牛只名称
     */
    private String name;

    /**
     * 添加原因（购买/出生等）
     */
    private String additionReason;

    /**
     * 电子耳标编号
     */
    private String earTag;

    /**
     * 
     */
    private Date createdAt;

    /**
     * 初始重量
     */
    private BigDecimal initialWeight;

    /**
     * 获得成本
     */
    private BigDecimal cost;

    /**
     * 
     */
    private Integer isFeed;

    /**
     * 
     */
    private String photo;

    private static final long serialVersionUID = 1L;

    private Integer isDeleted; // 是否已删除(0-未删除,1-已删除)
    private Date deletedAt;    // 删除时间

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(Date deletedAt) {
        this.deletedAt = deletedAt;
    }
}